package com.nuoniu.sibanyun.mapper.po;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nuoniu.sibanyun.entity.po.VRoRequisitionOrderDetail;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 * 请购单明细表 Mapper 接口
 * </p>
 *
 * @author baiqiang
 * @since 2020-11-17
 */
public interface VRoRequisitionOrderDetailMapper extends BaseMapper<VRoRequisitionOrderDetail> {

    /**
     * 根据请购单删除
     * @author 小啊刚
     * @date 2020-11-20
     */
    @Delete("delete from scp_requisition_detail where order_id=#{id}")
    void removeByOrderId(Long id);
}
